<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/one">主页</router-link>&nbsp;
    <router-link to="/tow">新闻</router-link>&nbsp;
    <router-link to="/three">体育</router-link>&nbsp;
     <router-view></router-view>
  </div>
</template>

<script>
export default {
  data(){
    return {}
  }
}
</script>

<style scoped>
.router-link-active{
  color:pink
}

</style>